package com.imut.onlinebanking.dealings.service;

import com.imut.onlinebanking.dealings.entity.Account;

import java.math.BigDecimal;

public interface AccounService {
    Account getAccountById(Long accountId);
    boolean withdraw(Long accountId, Long amount);
    boolean deposit(Long accountId, BigDecimal amount);
}
